package User;

import Book.BookList;
import IOpearation.IOPearation;

/**
 * Created by xiebang
 * Description
 * User:小谢
 * Date:2021-12-24
 * Time:10:53
 */
public abstract class User {
    private String name;
    public User(String name){
        this.name = name;
    }
    protected IOPearation[] ioPearations;

    public abstract int menu();

    public void DoOpearation(int choice,BookList bookList){
            ioPearations[choice].work(bookList);
    }

}
